<div class="flash_notice">
<% if !flash[:notice].blank?%>
<%= flash[:notice] %>
<% end %>
</div>

<h1>Admin login</h1>
<br>
<div class="login">
  <%= form_tag(:action => 'attempt_login') do %>
      <table>
        <tr>
          <td><%= label_tag(:username) %></td>
          <td><%= text_field_tag(:username) %></td>
        </tr>
        <tr>
          <td><%= label_tag(:password) %></td>
          <td><%= password_field_tag(:password) %></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><%= submit_tag("Log In") %></td>
        </tr>
      </table>
  <% end %>
  <br><br><br>
  <p> (NB the username is 'Matteo' and the password is 'Foccoli') </p>

</div>